Skip to main content

Reply to this post | Go Back
View Post [edit]

Poster: poorna Date: Aug 19, 2010 10:59pm
Forum: forums Subject: changing metadata using S3 API

I would like to change the "Description" metadata for 90+ items which I have uploaded.

Automation using the S3 API looks great, but I'm unable to modify a single meta-data field. I have to delete all meta-data associated with my item and and recreate the fields again.

I'm adapting this example from

curl --location \
--header 'x-archive-ignore-preexisting-bucket:1' \
--header 'x-archive-meta01-collection:opensource' \
--header 'x-archive-meta-mediatype:texts' \
--header 'x-archive-meta-title:Fancy new title' \
--header "authorization: LOW $accesskey:$secret" \
--upload-file /dev/null \

Is there any way I can modify only the description meta-data field while leaving the other fields intact? Does anyone have a higher level script which can handle this for me?

Thanks in advance for any help!

This post was modified by poorna on 2010-08-20 05:59:06

Reply to this post
Reply [edit]

Poster: Nemo_bis Date: Dec 15, 2012 2:40pm
Forum: forums Subject: Re: changing metadata using S3 API

I've never managed to get x-archive-ignore-preexisting-bucket:1 to work with that example and variations of it, I don't know about the others.
The bulk uploader has a $keepExistingMetadata config which relies on it and is supposed to override existing metadata, but fails to do so too (

This post was modified by Nemo_bis on 2012-12-15 22:40:50